﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
    <script src="http://ajax.googleapis.com/ajax/libs/dojo/1.5/dojo/dojo.xd.js" djConfig="parseOnLoad: true, debugAtAllCosts: true" type="text/javascript"></script>
    <!--script src="Scripts/dojo/dojo.js" djConfig="parseOnLoad: true, debugAtAllCosts: true" type="text/javascript"></script-->
    <link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/dojo/1.5/dijit/themes/claro/claro.css" />
    <style type="text/css">
            @import "http://ajax.googleapis.com/ajax/libs/dojo/1.5/dojox/grid/resources/claroGrid.css";
            @import "http://ajax.googleapis.com/ajax/libs/dojo/1.5/dojox/grid/enhanced/resources/claroEnhancedGrid.css";

            .dojoxGrid table { margin: 0; } html, body { width: 100%; height: 100%;
            margin: 0; }
            html, body { width: 100%; height: 100%; margin: 0; } 
            #topContainer  { width: 100%; height: 100%; overflow:hidden; border: none; }
            #subTopContainer {height: 35px;}
            #statusMessageContent {width: 50%;}

    </style>
    <script>
        var HOMEROOT = window.location.toString();
        dojo.require("dijit.TitlePane");
        dojo.require("dojox.layout.ContentPane");
        dojo.require("dijit.layout.BorderContainer");
        dojo.require("dijit.form.ComboBox");
        dojo.require("dijit.layout.TabContainer");
        dojo.require("dojox.data.JsonRestStore");
        dojo.require("dojox.grid.EnhancedGrid");
        dojo.require("dojox.grid.enhanced.plugins.NestedSorting");
        dojo.require("dojox.grid.enhanced.plugins.DnD");
        dojo.require("dojo.dnd.Source");


        function loadRolePage(role) {
            dijit.byId("roleContent").attr("href", "Home/" + role);
        }

        dojo.addOnLoad(function () {
            loadRolePage("Admin");
        });

    </script>
</head>

<body class="claro">
<div dojoType="dijit.layout.BorderContainer" id="topContainer" gutters="true">

    <div dojoType="dojox.layout.ContentPane" id="roleContent" region="center">Loading...</div>
</div>
</body>
</html>
